package com.aleaho.cftrack.model;

import com.aleaho.cftrack.CFTrackApplication;
import com.baidu.trace.api.analysis.DrivingBehaviorRequest;
import com.baidu.trace.api.analysis.OnAnalysisListener;
import com.baidu.trace.api.analysis.StayPointRequest;
import com.baidu.trace.api.track.HistoryTrackRequest;
import com.baidu.trace.api.track.OnTrackListener;

/**
 * @author Aleaho
 * @version 1.0
 * @date 2017/11/19
 * @desc 轨迹查询的网络操作层
 */

public interface TrackQueryModel {

    void queryHistoryTrack(CFTrackApplication trackApp,
                           HistoryTrackRequest historyTrackRequest,
                           OnTrackListener onTrackListener);

    void queryDrivingBehavior(CFTrackApplication trackApp,
                              DrivingBehaviorRequest drivingBehaviorRequest,
                              OnAnalysisListener onAnalysisListener);


    void queryStayPoint(CFTrackApplication trackApp,
                        StayPointRequest stayPointRequest,
                        OnAnalysisListener onAnalysisListener);


}
